<%@codepage="65001"%>
<%session.codepage="65001"%>
<!-- #include virtual=/inc/dbConn.asp -->
<!-- #include virtual=/inc/function.asp -->
<!-- #include virtual=/inc/action.header.inc.asp -->

<%
	'## 파라미터 변수 선언부
	processNm	= Request("processNm")
	working		= Request("working")
	execTime	= Request("execTime")
	flag		= Request("flag")
	types		= Request("type")
	processCd	= Request("processCd")

	processNm	= Replace(processNm,"'","''")
	working		= Replace(working,"'","''")
	execTime	= Replace(execTime,"'","''")

	SQLTitle = "-- ■■■■ 단위공정 관리 저장 ■■■■"
	SQL = "exec spUnitProcess '" & processNm & "', '" & working & "', '" & execTime & "', '" & types & "', '" & flag & "', '" & processCd & "'"

	If xMode="debug" Then 
		Call showDebug(SQLTitle,SQL) 
	End If 

'Response.write SQL
'Response.end
	DbCon.Execute SQL

	Call rsWithXML("Save OK!")
%>